﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS.Infrastructure.Dto.Request.Epaylinks;

namespace WCS.Infrastructure.Dto.Response.Organization
{
    /// <summary>
    /// 商户响应对象
    /// </summary>
    public class MerchantResponseDto
    {
        /// <summary>
        /// 商户ID
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 商户编号
        /// </summary>
        public string? MerchantCode { get; set; }

        /// <summary>
        /// 商户名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 商户地址
        /// </summary>
        public string? Address { get; set; }

        /// <summary>
        /// 商户详细地址
        /// </summary>
        public string? DetailedAddress { get; set; }

        /// <summary>
        /// 联系人名称
        /// </summary>
        public string? ContactPerson { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string? ContactPhone { get; set; }

        /// <summary>
        /// 商户类型
        /// </summary>
        public int? MerchantType { get; set; }

        /// <summary>
        /// 结算周期
        /// </summary>
        public int? SettlementCycle { get; set; }

        /// <summary>
        /// 扩展属性
        /// </summary>
        public string? ExtraProperties { get; set; }

        /// <summary>
        /// 并发标记
        /// </summary>
        public string? ConcurrencyStamp { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreationTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public string? CreatorId { get; set; }

        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? LastModificationTime { get; set; }

        /// <summary>
        /// 最后修改者ID
        /// </summary>
        public string? LastModifierId { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? IsDeleted { get; set; }

        /// <summary>
        /// 删除者ID
        /// </summary>
        public string? DeleterId { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeletionTime { get; set; }

        /// <summary>
        /// 启用状态
        /// </summary>
        public int? EnableStatus { get; set; }

        /// <summary>
        /// 业务开通信息
        /// </summary>
        public List<EpaylinksBusinessInfo>? Business { get; set; }

        /// <summary>
        /// 平台商户编号
        /// </summary>
        public string? AcqSpId { get; set; }

        /// <summary>
        /// 商户编号
        /// </summary>
        public string? AcqMerId { get; set; }

        /// <summary>
        /// 商户侧唯一标识
        /// </summary>
        public string? MerId { get; set; }

        /// <summary>
        /// 审核结果通知地址
        /// </summary>
        public string? BackUrl { get; set; }

        /// <summary>
        /// 商户详细信息
        /// </summary>
        public EpaylinksPaper? Paper { get; set; }

        /// <summary>
        /// 是否收单
        /// </summary>
        public int? AcceptOrder { get; set; }

        /// <summary>
        /// 业务启停回调地址
        /// </summary>
        public string? BusinessBackUrl { get; set; }

        /// <summary>
        /// 版本号
        /// </summary>
        public string? Version { get; set; }

        /// <summary>
        /// 商户名称
        /// </summary>
        public string? MerchantName { get; set; }

        /// <summary>
        /// 账户状态（0：未开通，1：已开通，2：冻结；3：注销；4：止付；5：禁止入金）
        /// </summary>
        public int? AccountStatus { get; set; }

        /// <summary>
        /// 审核状态（1：待审核; 2：审核通过; 3：审核未通
        /// 过）
        /// </summary>
        public int? AuditStatus { get; set; }

        /// <summary>
        /// 审核说明
        /// </summary>
        public string? AuditMsg { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? AuditTime { get; set; }

        /// <summary>
        /// 经纬度
        /// </summary>
        public string? Location { get; set; }

        /// <summary>
        /// 收款人姓名
        /// </summary>
        public string? BankUserName { get; set; }

        /// <summary>
        /// 银行卡号
        /// </summary>
        public string? BankCardNo { get; set; }

        /// <summary>
        /// 银行名称
        /// </summary>
        public string? BankName { get; set; }


    }
}
